$OpenBSD: patch-v8_src_globals_h,v 1.15 2017/03/14 12:18:54 robert Exp $
--- v8/src/globals.h.orig.port	Thu Mar  9 21:05:30 2017
+++ v8/src/globals.h	Fri Mar 10 07:46:26 2017
@@ -183,7 +183,11 @@ const size_t kCodeRangeAreaAlignment = 256 * MB;
 const size_t kMaximalCodeRangeSize = 512 * MB;
 const size_t kCodeRangeAreaAlignment = 64 * KB;  // OS page on PPC Linux
 #else
+#if defined(__OpenBSD__)
+const size_t kMaximalCodeRangeSize = 256 * MB;
+#else
 const size_t kMaximalCodeRangeSize = 512 * MB;
+#endif
 const size_t kCodeRangeAreaAlignment = 4 * KB;  // OS page.
 #endif
 #if V8_OS_WIN
